package com.yisu.auction.api.core.mapper;

import com.yisu.auction.api.domain.request.BasePage;
import com.yisu.auction.api.domain.vo.indexPackageVos.MessageVo;
import com.yisu.auction.ewf.entity.Message;

import java.util.List;

public interface MessageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Message record);

    int insertSelective(Message record);

    Message selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Message record);

    int updateByPrimaryKey(Message record);

    /**
     * author: 赵杰
     * Business Description：获取拍卖头条列表，用户跑马灯
     * @return
     */
    List<MessageVo> getFrontPageList();
}